﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="kecheng_shenhe.aspx.cs" Inherits="kecheng_shenhe" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>无标题页</title>
</head>
<body>
    <form id="form1" runat="server">  
    <table style="width: 810px">
        <tr>
            <td style="width: 100px" class="font3"><span class="font3"><span class="style20">
                <asp:Label ID="Label1" runat="server" Font-Bold="True" Height="7px" Text="等待审核的课程"
                    Width="164px"></asp:Label></span></span></td>
        </tr>
        <tr>
            <td style="width: 100px">
                <asp:GridView ID="GridView4" runat="server" AllowPaging="True"
                        AllowSorting="True" AutoGenerateColumns="False" CellPadding="4" DataKeyNames="id"
                        DataSourceID="SqlDataSource4" ForeColor="Black" GridLines="Vertical" Height="155px"
                        OnRowCommand="GridView2_RowCommand" OnRowDataBound="GridView2_RowDataBound" PageSize="6"
                        Width="734px" BackColor="White" BorderColor="#DEDFDE" BorderStyle="None" BorderWidth="1px">
                        <FooterStyle BackColor="#CCCC99" />
                        <Columns>
                            <asp:BoundField HeaderText="编号" />
                            <asp:BoundField DataField="id" HeaderText="id" InsertVisible="False" ReadOnly="True"
                                SortExpression="id" Visible="False" />
                            <asp:TemplateField HeaderText="课程名称">
                                <ItemTemplate>
                                    <asp:LinkButton ID="LinkButton1" runat="server" CommandArgument='<%#Eval("id")%>'
                                        Text='<%# Eval("name", "{0}") %>' Width="360px"></asp:LinkButton>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:BoundField DataField="kechenglx" HeaderText="课程类型" SortExpression="kechenglx" />
                            <asp:BoundField DataField="laoshi" HeaderText="老师" SortExpression="laoshi" />
                            <asp:BoundField DataField="xuefei" HeaderText="学费" SortExpression="xuefei" />
                        </Columns>
                        <RowStyle BackColor="#F7F7DE" />
                        <SelectedRowStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" />
                        <PagerStyle BackColor="#F7F7DE" ForeColor="Black" HorizontalAlign="Right" />
                        <HeaderStyle BackColor="#D9EDB2" Font-Bold="True" ForeColor="Black" />
                        <AlternatingRowStyle BackColor="White" />
                    </asp:GridView>
            </td>
        </tr>
        <tr>
            <td style="width: 100px">
                <asp:SqlDataSource ID="SqlDataSource4" runat="server" ConnectionString="<%$ ConnectionStrings:gConnectionString %>"
                    SelectCommand="SELECT [id], [name],[laoshi],[kechenglx],[xuefei] FROM [kecheng] WHERE (([jigou] = @id) AND ([confirm] = @confirm))  ORDER BY [xtsj2] DESC">
                    <SelectParameters>
                        <asp:SessionParameter Name="id" SessionField="sJigou" Type="String" />
                        <asp:Parameter DefaultValue="提交" Name="confirm" Type="String" />
                    </SelectParameters>
                </asp:SqlDataSource>
            </td>
        </tr>
    </table>
</form>
</body>
</html>

